﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecoderRing
{
    class Program
    {
        static void Main(string[] args)
        {

            var enc = new DecoderRingLibrary.Decoder();
            enc.key = 3;
            var input = "ABC XYZ 123";
            var output = enc.Encode(input);
            var backAgain = enc.Decode(output);

            Console.WriteLine(input);
            Console.WriteLine(output);
            Console.WriteLine(backAgain);

            Console.ReadLine();
        }
    }
}
